{% extends "subfactory/base.html" %}
{% block menu %}
	{{ block.super}}
	<p><a href="{% url 'upload_file' %}">Nouvel upload</a></p>
{% endblock menu %}
{% block content %}
{% if document_list %}
<ul>
	{% for document in document_list %}
	<li><a href="{% url 'document' document.id %}">{{ document.title }}</a></li>
	{% endfor %}
</ul>
{% else %}
<p>No document are available.</p>
{% endif %}
{% endblock content%}
